package 笔试;

import java.util.Scanner;

public class 途虎_转换符号 {
    public static void main(String[] args) {
        Scanner  scan = new Scanner(System.in);
        String[] s = scan.nextLine().split(",");
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < s.length; i++) {
            if(i == s.length-1) {
                sb.append(s[i]);
            } else {
                sb.append(s[i] + ";");
            }
        }
        System.out.println(sb.toString());
    }

    public String getStr (String oldStr) {
        String[] s = oldStr.split(",");
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < s.length; i++) {
            if(i == s.length-1) {
                sb.append(s[i]);
            } else {
                sb.append(s[i] + ";");
            }
        }
        return sb.toString();
    }
}
